package com.ipzoe.web.convert;

import com.ipzoe.mem.domain.Member;
import com.ipzoe.oms.domain.Order;
import com.ipzoe.web.model.MemberVO;
import com.ipzoe.web.model.OrderDetailDTO;
import com.ipzoe.web.model.OrderVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface OrderConvert {

    OrderConvert INSTANCE = Mappers.getMapper(OrderConvert.class);
    @Mappings({})
    List<OrderVO> convert(List<Order> orderList);

    OrderDetailDTO convert(Order order);
}
